package id.web.faisalabdillah.xtimesheet.dao;

import java.util.List;

import id.web.faisalabdillah.xtimesheet.domain.FileStorage;

public interface IFileStorageDao {
	
	public void insert(FileStorage storage);
	public void update(FileStorage storage);
	public void remove(FileStorage storage);
	public FileStorage findByCodename(String codename);
	public FileStorage findById(long id);
	public FileStorage findByIdNFile(long id);
	public List<FileStorage> listAll();
	public List<FileStorage> listPaging(int firs,int max);
	public int sizeAll();
}
